package com.anonymous.message;

import java.security.PublicKey;
import java.security.cert.X509Certificate;

public class LoginMsg extends Message {
	
	private static final long serialVersionUID = 1L;
	private String username;
	private String passwordHash;
	private X509Certificate certificate;


	public LoginMsg() {
		flag = "LOGIN";
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPasswordHash() {
		return passwordHash;
	}

	public void setPasswordHash(String passwordHash) {
		this.passwordHash = passwordHash;
	}

	public X509Certificate getCertificate() {
		return certificate;
	}

	public void setCertificate(X509Certificate certificate) {
		this.certificate = certificate;
	}
}
